﻿#pragma once
#include "DataInput.h"
#include "FilterInputStream.h"
#include "InputStream.h"

namespace yzrilyzr_io{
	ECLASS(DataInputStream, public FilterInputStream, public DataInput){
	public:
	DataInputStream(InputStream & in);
	int32_t read()override;
	u_index read(yzrilyzr_array::ByteArray & buf, u_index off, u_index len)override;
	void close()override;
	u_index skipBytes(u_index n)override;
	void readFully(yzrilyzr_array::ByteArray & b, u_index off, u_index len)override;
	};
}